<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Spring Boot 3 多模块演示</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        h1 {
            color: #333;
            text-align: center;
            margin-bottom: 30px;
        }
        .message {
            background-color: #e8f5e8;
            border: 1px solid #4caf50;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        .module-info {
            background-color: #f0f8ff;
            border: 1px solid #2196f3;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 15px;
        }
        .module-info h3 {
            margin-top: 0;
            color: #2196f3;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Spring Boot 3 多模块演示项目</h1>
        
        <div class="message">
            <strong>消息：</strong> <span th:text="${message}">默认消息</span>
        </div>
        
        <div class="module-info">
            <h3>项目模块说明</h3>
            <ul>
                <li><strong>demo_common：</strong> 公共模块，包含共享的工具类和配置</li>
                <li><strong>demo_service：</strong> 服务模块，包含业务逻辑和数据访问</li>
                <li><strong>demo_admin：</strong> 管理模块，包含管理后台功能</li>
                <li><strong>demo_front：</strong> 前端模块，包含用户界面</li>
            </ul>
        </div>
        
        <div class="module-info">
            <h3>技术栈</h3>
            <ul>
                <li>Spring Boot 3.2.0</li>
                <li>Java 17</li>
                <li>Maven 多模块</li>
                <li>Spring Security</li>
                <li>Spring Data JPA</li>
                <li>Thymeleaf</li>
                <li>MySQL</li>
            </ul>
        </div>
    </div>
</body>
</html>
